package com.tanhua.dubbo.db.api;

import com.tanhua.model.mongo.PeachBlossomUser;

//获取桃花传音的表格
public interface PeachBlossomUserApi {

    //将获取者的当日数据存入表中
    void savePeachBlossomUser(PeachBlossomUser peachBlossomUser);

    //根据时间和用户id查询
    PeachBlossomUser findByUserIdAndDate(Long toUserId, String today);

    //数据库已有数据 更新
    void update(PeachBlossomUser peachBlossomUser, Integer count);
}
